home *** CD-ROM | disk | FTP | other *** search
- include <ntwin32.mak>
-
- opengllibs = opengl32.lib glu32.lib glaux.lib
-
- MAKE = nmake
-
- #
- # The XXX_DIR variables below MUST have ABSOLUTE path. Since this file
- # is sourced from several directories relative path specification will
- # be simple wrong.
- #
- SRC_DIR = d:\users\gershon\irit
-
- #
- # All libraries created will be installed into the LIB_DIR directory.
- #
- LIB_DIR = $(SRC_DIR)\lib
-
- #
- # All includes files associated with the installed libraries will be
- # installed into the INC_DIR directory.
- #
- INC_DIR = $(SRC_DIR)\include
-
- #
- # All binaries created will be installed into the BIN_DIR directory.
- #
- BIN_DIR = $(SRC_DIR)\bin
-
- #
- # Location of object file to resolve circularities in libraries.
- #
- CIRCLINK = $(SRC_DIR)/circlink/circlink.obj
-
- #
- # Flags for Mircosoft C compiler, Windows NT release 3.1, August 1993.
- #
- IRITCC = cl
- DFLAGS = -D__WINNT__ -D_X86_=1 -DWIN32 -D_MT -DRAND -W3 -nologo
- IRITLIB = $(implib)
- # CFLAGS = $(DFLAGS)
- # IRITCONLINK = $(link) $(conflags)
- # IRITGUILINK = $(link) $(guiflags)
- CFLAGS = -Zi -Od $(DFLAGS)
- IRITCONLINK = $(link) $(conflags) $(linkdebug)
- IRITGUILINK = $(link) $(guiflags) $(linkdebug)
- GRAPDRVS = nuldrvs.exe wntdrvs.exe wntgdrvs.exe
-
- #
- # Default rule for compilation.
- #
- .c.obj:
- $(IRITCC) $(CFLAGS) -I. -I$(INC_DIR) -c $<
-
- #
- # All libraries.
- #
- PRSR_LIB = $(LIB_DIR)\prsr_lib.lib
- GEOM_LIB = $(LIB_DIR)\geom_lib.lib
- CAGD_LIB = $(LIB_DIR)\cagd_lib.lib
- SYMB_LIB = $(LIB_DIR)\symb_lib.lib
- TRIM_LIB = $(LIB_DIR)\trim_lib.lib
- TRIV_LIB = $(LIB_DIR)\triv_lib.lib
- MISC_LIB = $(LIB_DIR)\misc_lib.lib
- XTRA_LIB = $(LIB_DIR)\xtra_lib.lib
- BOOL_LIB = $(LIB_DIR)\bool_lib.lib
- GIF_LIB = $(LIB_DIR)\gif_libl.lib
-
- LIBS = $(CIRCLINK) $(BOOL_LIB) $(GEOM_LIB) $(PRSR_LIB) $(TRIM_LIB) \
- $(TRIV_LIB) $(SYMB_LIB) $(CAGD_LIB) $(MISC_LIB) $(XTRA_LIB) \
- # $(GIF_LIB)
-
- W32CONLIBS = wsock32.lib $(conlibs)
- W32GUILIBS = wsock32.lib $(guilibs)
- W32GUIMTLIBS = wsock32.lib $(guilibsmt)
- W32GUIOGLLIBS = wsock32.lib $(opengllibs) $(guilibsmt)
-